package com.ase.mobile.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author Curry
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {
    private Integer id;

    private String name;

    private String password;

    private String sex;

    private Integer age;

    private static final long serialVersionUID = 1L;

    public User(String name, String password, String sex, Integer age) {
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.age = age;
    }
}